package com.wtwd.device.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author mjy
 * @date 2021/08/06
 * @description
 */
@ApiModel(value="WatchVo对象", description="")
public class WatchVo implements Serializable {

    @ApiModelProperty(value = "手表id")
    private Long id;

    @ApiModelProperty(value = "Mac地址")
    private String macAddress;

    @ApiModelProperty(value = "是否激活，0：未激活，1激活")
    private Integer activation;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "手表模型----手表类型id")
    private String watchId;

    @ApiModelProperty(value = "当前版本")
    private String currentFirmware;

    @ApiModelProperty(value = "上个版本，版本号")
    private String previousVersion;

    @ApiModelProperty(value = "客户名称")
    private String customerName;


    @ApiModelProperty(value = "激活时间")
    private Long activeTime;

    @ApiModelProperty(value = "目标版本，预留字段")
    private String targetFirmware;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public Integer getActivation() {
        return activation;
    }

    public void setActivation(Integer activation) {
        this.activation = activation;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getWatchId() {
        return watchId;
    }

    public void setWatchId(String watchId) {
        this.watchId = watchId;
    }

    public String getCurrentFirmware() {
        return currentFirmware;
    }

    public void setCurrentFirmware(String currentFirmware) {
        this.currentFirmware = currentFirmware;
    }

    public String getPreviousVersion() {
        return previousVersion;
    }

    public void setPreviousVersion(String previousVersion) {
        this.previousVersion = previousVersion;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(Long activeTime) {
        this.activeTime = activeTime;
    }

    public String getTargetFirmware() {
        return targetFirmware;
    }

    public void setTargetFirmware(String targetFirmware) {
        this.targetFirmware = targetFirmware;
    }

    @Override
    public String toString() {
        return "WatchVo{" +
                "id=" + id +
                ", macAddress='" + macAddress + '\'' +
                ", activation=" + activation +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", watchId='" + watchId + '\'' +
                ", currentFirmware='" + currentFirmware + '\'' +
                ", previousVersion='" + previousVersion + '\'' +
                ", customerName='" + customerName + '\'' +
                ", activeTime='" + activeTime + '\'' +
                ", targetFirmware='" + targetFirmware + '\'' +
                '}';
    }
}
